package cn.lanqiao.demo.service;

import cn.lanqiao.demo.entity.Teacher;
import cn.lanqiao.demo.vo.TeacherVaccineVO;

import java.util.List;
import java.util.Map;

public interface TeacherService {

    public List<Map<String,Integer>> getSex();

    //teacher全部信息方法
    public List<TeacherVaccineVO> getAll();

    //教师修改信息方法
    public int update(TeacherVaccineVO teacherVaccineVO);

    //根据id获取教师信息
    public TeacherVaccineVO getId(String Tno);

    //根据id删除教师信息
    public int delete(String Tno);

    //增加教师方法
    public int insert(Teacher teacher);

    //把教师编号插入疫苗中
    public int insertTV(String Tno);
}
